<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="{$app_path}{$static_path}/js/jquery.min.js"></script>
<link href="{$app_path}{$static_path}/css/login-style.css" rel='stylesheet' type='text/css' />
</head>
<body>
<div class="easyui-panel" style="padding:5px;">
	域名类型：<input type="text" value="" id="nameId"/>&nbsp;&nbsp;
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width:80px">Search</a>
	<input type="button" id="savebut" value="新 增"/>
	<br/><br/>
	</div><br/><br/>
	<div class="tabledivclasss">
	<table id="dcategorylist_data" cellspacing="0" cellpadding="0">
	</table>
	</div>
	<input type="hidden" value="{$app_path}{:U('/Dcategory/','','')}" id="dcatesearchUrld"/>
	
	<div id="newDialog" class="easyui-dialog" title="编辑操作" style="width:400px;height:400px;" 
	data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true">
	    <form action="{$app_path}{:U('dcategory/save')}" method="post" id="cateformid">
<span style="color: red;" id="errors"></span>
<br/>
	域名类型：<input type="text" name="name" id="sanameId" maxlength="20" value=""/><br/><br/>
	是否可以抵押：<select name="is_entrust">
				<option value=1>可以抵押</option>
				<option value=2>不可以抵押</option>
			</select><br/><br/>
	授信额度：<input type="text" name="credit_limit" id="credit_limitid" maxlength="12"
	 onkeyup="this.value=this.value.replace(/\D/g,'')"/><br/><br/>
	域名后缀：<input type="text" name="refix" id="refixId"  maxlength="10"/>&nbsp;&nbsp;例如:&nbsp;.com<br/><br/>
	<input type="button" value="提交" id="buuttonid"/>
</form>
	
	</div>
	
	<div id="updateDialog" class="easyui-dialog" title="编辑操作" style="width:400px;height:400px;" 
	data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true">
		<form action="{$app_path}{:U('dcategory/toupdate')}" method="post" id="upcateformid">
<input type="hidden" name="id" value="" id="upid"/>
<span style="color: red;" id="errorsup"></span>
<br/>
	域名类型：<input type="text" name="name" id="upnameId" maxlength="20" value=""/><br/><br/>
	是否可以抵押：<select name="is_entrust" id="is_entrustid">
				<option value=1>可以抵押</option>
				<option value=2>不可以抵押</option>
			</select><br/><br/>
	授信额度：<input type="text" name="credit_limit" id="upcredit_limitid" maxlength="12"
	 onkeyup="this.value=this.value.replace(/\D/g,'')" value=""/><br/><br/>
	域名后缀：<input type="text" name="refix" id="uprefixId"  maxlength="10" value=""
	/>&nbsp;&nbsp;例如:&nbsp;.com<br/><br/>
	<input type="button" value="提交" id="upbuuttonid"/>
</form>	
	</div>
	
	
<script type="text/javascript" src="{$app_path}{$static_path}/js/dcategorylist.js"></script>
</body>
</html>
